package com.itheima.service;

import com.itheima.common.DefaultException;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * <h1>ysm</h1>
 *
 * @author <a href="11n_yd2h5e1jx8@dingtalk.com">叶世铭</a>
 * @since 2024/1/3
 */
public interface TestService {
    String upload(MultipartFile file) throws DefaultException;

    void downLoad(HttpServletResponse response, String filePath) throws DefaultException;
}
